#ifndef __CLASSINFO_H
#define __CLASSINFO_H

#include <iostream>
#include <list>
using namespace std;

class ClassInfo
{
public:
    ClassInfo();
    ClassInfo(const string &id, const string &name,
              const string &room, const string &count);

    void display(void) const;

    void setID(const string &id);
    void setName(const string &name);
    void setRoom(const string &room);
    void setCount(const string &teaHead);

    const string &getID() const;
    const string &getName() const;
    const string &getRoom() const;
    const string &getCount() const;

private:
    string m_id;
    string m_name;
    string m_room;
    string m_count;
};

typedef list<ClassInfo> ClassInfoList;

#endif // __CLASSINFO_H
